let calc = require('./calc');

let ops = ['+','-','*','/'];
let op = ops[Math.floor(Math.random()*4)]

let num1 = Math.floor(Math.random()*50 + 50);
let num2 = Math.floor(Math.random()*50 + 50);

let res = calc(num1, op, num2);

console.log(num1 + op + num2 + ' = ' + res);